License Key Structure (Short)
This structure is used to hold the information about a license key.
Field Name | Field Type | Description | Interpretation on Output |
---|---|---|---|
ownerId | JSON string |
The ID of a license owner. You can look up the ID in the Key Administrator UI: Client > the Credentials tab > Internal ID field. |
Always not null. Holds the ID of a license key owner. |
keyId | JSON number | Key number without prefix and version. |
Always not null. This field can be used for addressing a license via URL. For example: https://api.central.plesk.com/30/keys/12345678 |
parentKeyId | JSON number | Parent key number without prefix and version. |
Null if a license key does not have a parent license key. This field can be used for addressing a license key via URL. For example: https://api.central.plesk.com/30/keys/12345678 |
Example
This response package includes two license keys:
[
{
"ownerId" : "987654321",
"keyId" : 1234567,
"parentKeyId" : null
},
{
"ownerId" : "987654320",
"keyId" : 7654321,
"parentKeyId" : 1234567
}
]